/**
 * 
 */
package com.beta.restapi.response.wrapper;

import com.beta.restapi.internal.Consts;
import com.beta.vo.CategoryVO;
import com.beta.vo.PageVO;
import com.fasterxml.jackson.annotation.JsonProperty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author vector
 *
 */
public class CategoryVoWrapper extends PageVO {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8101012487189209474L;

	@NotNull
	@JsonProperty(Consts.Resource.CATEGORY)
	private CategoryVO category;
	
	@JsonProperty(Consts.Resource.CATEGORIES)
	private List<CategoryVO> categories;

	/**
	 * @return the category
	 */
	public CategoryVO getCategory() {
		return category;
	}

	/**
	 * @param category the category to set
	 */
	public void setCategory(CategoryVO category) {
		this.category = category;
	}

	/**
	 * @return the categories
	 */
	public List<CategoryVO> getCategories() {
		return categories;
	}

	/**
	 * @param categories the categories to set
	 */
	public void setCategories(List<CategoryVO> categories) {
		this.categories = categories;
	}
	
}
